# This is a bunch of settings useful for the app

defaults:
    # How many posts to show per page
    items_per_page: 50
    search_results_per_page: 50
    # How many topics to allow for a post
    topics_per_post: 10

cookies:
    # A secret key for signing cookies. Must be kept private.
    # Used to verify that cookies haven't been tampered with.
    secret: "secret random string"

sqlite:
    database: ./database.sqlite

# Emails are sent using the local sendmail MTA.
email:
    sendmail_path: /usr/sbin/sendmail
    from: "freepost <noreply@freepo.st>"

session:
    # Name to use for the session cookie
    name: freepost
    
    # Timeout in seconds for the "remember me" option.
    # By default, if the user doesn't click "remember me" during login the
    # session will end when the browser is closed.
    # 2592000 = 30 days
    remember_me: 2592000
